#ifndef _GREEDY5_H_
#define _GREEDY5_H_

#include <iostream>
#include <map>
#include <queue>
#include "BaselineRandomWalk.h"

#define NUM_SEEDS 1000000
//not ask everythin in 1 go.

using namespace std;

class Greedy5 : public BaseCrawler
{
public:
    Greedy5(API *network_) : BaseCrawler(network_) {}
  virtual void crawl(int cost_limit);
  virtual void nextStep();
protected:
  virtual void updateDiscoveredNode(int discoveredNode);
  virtual int nodeToExplore();

  map<int, TIntQu> visit;
  priority_queue<TIntPr> q;
};

#endif
